import request from '@/utils/request'
export function fetchList(params) {
  return request({
    url:'/pms/pmsProduct/list',
    method:'get',
    params:params
  })
}

export function updatePassword(data) {
    return request({
      url:'/pms/pmsProduct/update',
      method:'post',
      data:data
    })
  } 

  export function deleteAdmin(id) {
    return request({
      url:'/pms/pmsProduct/delete/'+id,
      method:'get' 
    })
  } 


export function getProduct(id){
    return request({
        url: 'pms/pmsProduct/',
        method: 'get'
    })
}